﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Login.aspx.cs" Inherits="ProjektarbeteKlauserSwag.Login" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <link href="KlauserswagStyle.css" rel="stylesheet" />
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
        <div id="LoginImage">
            <img src="KlauserSwag_Logo.png" /></div>
<div id="Login">
        <asp:Label ID="LabelUserName" runat="server" Text="Användarnamn:" CssClass="Label"></asp:Label>
        <asp:TextBox ID="TextBoxUserName" runat="server" CssClass="TextBoxUserName"></asp:TextBox>
        <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="TextBoxUserName" ErrorMessage="Du måste fylla i Användarnamn">*</asp:RequiredFieldValidator>
            <br />
        <asp:Label ID="LabelPassword" runat="server" Text="Lösenord:" CssClass="Label"></asp:Label>
        <asp:TextBox ID="TextBoxPassword" runat="server" TextMode="Password" CssClass="TextBoxPassword"></asp:TextBox>
        <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="TextBoxPassword" ErrorMessage="Du måste fylla i lösenord">*</asp:RequiredFieldValidator>
            <br />
        <asp:Button ID="ButtonLogin" runat="server" Text="Login" OnClick="ButtonLogin_Click" CssClass="ButtonLogin" />
            <br />
            <asp:Label ID="LabelUsernamePassword" runat="server" CssClass="LabelUsernamePassword" Text="Your Username or Password is wrong!" Visible="False"></asp:Label>
            <asp:ValidationSummary ID="ValidationSummary1" runat="server" CssClass="Label" />
        </div>
        
    </form>
</body>
</html>
